package com.topevery.yllhdemo.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.topevery.yllhdemo.model.UmEvent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
@DS("sqlServerDB")
public interface UmEventMapper extends BaseMapper<UmEvent> {

    IPage<UmEvent> selectPageVo(Page<?> page, @Param("state") Integer state);


    IPage<UmEvent> selectPage2(Page<?> page, @Param("map") Map param);
}
